package com.his.system.manager.service;

import com.github.pagehelper.PageInfo;
import com.his.system.manager.dto.LittleTeacherListDTO;
import com.his.system.manager.dto.LittleTeacherQueryDTO;
import com.his.system.manager.entity.LittleTeacherEntity;

import java.util.List;

/**
 * 接口
 *
 * @Description
 * @Author Admin
 * @Date 2020-07-17 20:44:14
 */
public interface ILittleTeacherService {
    /**
     * addEntity
     *
     * @param entity
     * @return Integer
     */
    Integer addEntity(LittleTeacherEntity entity);

    /**
     * updateEntity
     *
     * @param entity
     * @return Integer
     */
    Integer updateEntity(LittleTeacherEntity entity);

    /**
     * selectByEntity
     *
     * @param entity
     * @return List
     */
    List<LittleTeacherEntity> selectByEntity(LittleTeacherEntity entity);

    PageInfo<LittleTeacherListDTO> getListByPage(LittleTeacherQueryDTO entity);
}